package shardingsphere.demo.entity;

import java.io.Serializable;

/**
 * @author fengsihang
 * @date 2018/7/13
 */
public class Order implements Serializable {

    private Long id;

    private Integer userId;
    private Integer orderNo;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", userId=" + userId +
                ", orderNo=" + orderNo +
                '}';
    }
}
